import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'

//配制基地址
axios.defaults.baseURL='http://localhost:8888/api/'
//挂载axios
Vue.prototype.$axios=axios


//导入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//使用element-ui
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
